<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
 <form action="/user/login/" method="post">
     {% csrf_token %}
     <input type="text" name="username">
     <input type="password" name="password">
     <input type="submit" value="登录">
 </form>
</body>
</html>